package com.zhny.aiot.wn.weather.plugin.model;

import com.zhny.aiot.plugin.ActionValue;
import com.zhny.aiot.plugin.PropertyValue;
import com.zhny.aiot.plugin.model.*;
import lombok.Data;

@Data
public class WNWeatherStoreEntry extends StoreEntity {
    @PropertyValue(alias = "大气温度",description = "大气温度",unit = "℃",icon= IconConstract.Temperature,variableType= VariableType.Numerical,actions={
            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
    })
    private String temperature;
    @PropertyValue(alias = "大气湿度",description = "大气湿度",unit = "%RH",icon= IconConstract.Humidity,variableType= VariableType.Numerical,actions={
            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
    })
    private String humidity;
    @PropertyValue(alias = "光照",description = "光照",unit = "LUX",icon= IconConstract.Illumination,variableType= VariableType.Numerical,actions={
            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
    })
    private String illumination;
    @PropertyValue(alias = "二氧化碳",description = "二氧化碳",unit = "PPM",icon= IconConstract.Co2,variableType= VariableType.Numerical,actions={
            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
    })
    private String carbon;
    @PropertyValue(alias = "土壤温度",description = "土壤温度",unit = "℃",icon= IconConstract.Temperature,variableType= VariableType.Numerical,actions={
            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
    })
    private String soilTemperature;
    @PropertyValue(alias = "土壤湿度",description = "土壤湿度",unit = "％RH",icon= IconConstract.Humidity,variableType= VariableType.Numerical,actions={
            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
    })
    private String soilHumidity;
    @PropertyValue(alias = "电导率",description = "电导率",unit = "mS/cm",icon= IconConstract.Conductivity,variableType= VariableType.Numerical,actions={
            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
    })
    private String conductivity;

    @PropertyValue(alias = "PH值",description = "PH值",unit = "",icon= IconConstract.PH,variableType= VariableType.Numerical,actions={
            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
    })
    private String ph;
}
